﻿<Window x:Class="WebAnalyser.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WebAnalyser" Height="350" Width="525" ResizeMode="CanMinimize" WindowStyle="SingleBorderWindow" ContentRendered="Window_Loaded" Closing="Window_Closing" Icon="/WebAnalyser;component/UI/1281614697_text-css.ico">
    <Grid>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="120,100,0,0" Name="urlTextBox" VerticalAlignment="Top" Width="285" Text="Your url here." GotFocus="urlTextBox_GotFocus" KeyDown="urlTextBox_KeyDown" />
        <Button Content="Start" HorizontalAlignment="Left" Margin="120,180,0,60" Name="startButton" Width="285" Click="startButton_Click" />
        <Menu Height="23" HorizontalAlignment="Left" Name="menu1" VerticalAlignment="Top" Width="520">
            <MenuItem Header="_File">
                <MenuItem Header="E_xit" Click="Exit" />
            </MenuItem>
            <MenuItem Header="_Tools">
                <MenuItem Header="_Options" Click="Options" />
            </MenuItem>
            <MenuItem Header="_Help">
                <MenuItem Header="_About" Click="About" />
            </MenuItem>
        </Menu>
        <StatusBar Height="23" HorizontalAlignment="Left" Margin="0,300,0,0" Name="statusBar1" VerticalAlignment="Top" Width="520">
            <ProgressBar Name="resultProgressBar" IsIndeterminate="True" Width="150" Height="15" Visibility="Hidden" />

        </StatusBar>
        <Button Content="Cancel" Height="28" HorizontalAlignment="Left" Margin="432,180,0,0" Name="cancelButton" VerticalAlignment="Top" Width="54" IsEnabled="False" Click="cancelButton_Click" />
        <Label Content="" Height="28" HorizontalAlignment="Left" Margin="162,298,0,0" Name="statusLabel" VerticalAlignment="Top" Visibility="Hidden" />
        <Button Content="STRESS!!!" Height="23" HorizontalAlignment="Left" Margin="27,132,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
    </Grid>
</Window>